package com.jhgsys.internal.system.entity;

import com.jhgsys.internal.common.entity.MenuTree;
import com.jhgsys.internal.common.entity.MenuTreeNew;
import com.jhgsys.internal.system.dto.MenuDto;
import lombok.Data;

import java.util.List;

@Data
public class MenuModel {

    private Integer code = 0;

    private String msg = "success";

    private Integer count;

    private List<MenuTreeNew<Menu>> data;

    public MenuModel (Integer code,String msg,Integer count,List<MenuTreeNew<Menu>> data){
        super();
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public MenuModel(List<MenuTreeNew<Menu>> data,Integer count){
        super();
        this.count = count;
        this.data = data;
    }


}
